package fr.enseirb.mycub.db.structure;

import com.google.gson.annotations.SerializedName;

public class StationDAO {

	@SerializedName(ID)
	protected int mId;
	@SerializedName(NAME)
	protected String mName;
	@SerializedName(LONGITUDE)
	protected double mLongitude;
	@SerializedName(LATITUDE)
	protected double mLatitude;
	@SerializedName(OPEN)
	protected boolean mIsOpen;
	protected boolean mIsFavorite;

	public static final String ID = "id";
	public static final String NAME = "name";
	public static final String OPEN = "open";	
	public static final String LATITUDE = "latitude";
	public static final String LONGITUDE = "longitude";

	public String getName() {
		return mName;
	}

	public void setName(String name) {
		mName = name;
	}

	public boolean isOpen() {
		return mIsOpen;
	}
	
	public void setOpen(boolean open){
		mIsOpen = open;
	}

	public void setId(int id) {
		this.mId = id;
	}

	public int getId() {
		return this.mId;
	}

	public boolean isFavorite() {
		return mIsFavorite;
	}

	public void setFavorite(boolean isFavorite) {
		mIsFavorite = isFavorite;
	}

	public double getmLongitude() {
		return mLongitude;
	}

	public void setmLongitude(double mLongitude) {
		this.mLongitude = mLongitude;
	}

	public double getmLatitude() {
		return mLatitude;
	}

	public void setmLatitude(double mLatitude) {
		this.mLatitude = mLatitude;
	}

}
